

class CKSSMMU_Program : public CBaseMMU {
	public:
		UINT8 memspace[0x10000];
		ISoundDevice* scc;

	public:
		CKSSMMU_Program();
		UINT8 Read8 (UINT64 offset);
		void  Write8 (UINT64 offset, UINT8 data);
};

class CKSSMMU_IO : public CBaseMMU {

	public:
		CMemory* banked_code;
		CKSSMMU_Program* prgspace; // We share some stuff.
		UINT16 bank_size;
		UINT8  first_bank;
		UINT8  isUsing16KBBanks;

	// CBaseMMU
	public:
		UINT8 Read8 (UINT64 offset);
		void  Write8 (UINT64 offset, UINT8 data);

	// Public'd to throw from the KSS driver
	public:
		ISoundDevice* ay;
		
		ISoundDevice* opll;
		ISoundDevice* audio;
		ISoundDevice* moonsound;
};